/**
 * https://leetcode.cn/problems/check-if-two-chessboard-squares-have-the-same-color/submissions/584666601/?envType=daily-question&envId=2024-12-03
 */

class Solution {
public:
    bool checkTwoChessboards(string coordinate1, string coordinate2) {
        return (coordinate1[0]-coordinate2[0]+coordinate1[1]-coordinate2[1])%2==0;
    }
};